package com.example.provider.controller;

import com.example.imterface.service.ProductService;
import com.example.imterface.service.UserService;
import com.example.imterface.vo.ResultVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author: banban
 * @Desctription: TODO
 * @Date: Created in 2023/12/8 16:56
 * @Version: 1.0
 */
@RestController
public class ProductServiceController {

    @Resource
    private ProductService productService;
    @RequestMapping("/test")
    public void testGet(){
        ResultVO resultVO=productService.getProductById(1);
        System.out.println(resultVO);
    }

}
